<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
  <head>
    
    <title>确认邮费</title>
    
     <link href="<%=basePath %>/background/css/layout.css" rel="stylesheet" type="text/css" />
    <link href="<%=basePath %>/background/css/header.css" rel="stylesheet" type="text/css" />
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    	
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="<%=basePath %>css/manual.css">
	<link href="<%=basePath %>/warehouse/css/button.css" rel="stylesheet" type="text/css" />
<style type="text/css">  
  


  
</style> 
  </head>
  
  <body>
  
  <div id="container">
  <div id="header">
		 <jsp:include page="/background/head.jsp"></jsp:include>
	</div>
  <div id="applicationbar">
		 <jsp:include page="/background/app/appbar.jsp"></jsp:include>
	</div>
  <div id="mainContent">
    <div id="sidebar">

		<jsp:include page="/background/left.jsp"></jsp:include>
	</div>
	
    <div id="content" >
    <div style="border:1px solid #ffffff; border-top-color:#6cb1f1; background-color: #e5f3ff; width: 100%; top: 0px;" >
							查找快递单信息
     			
     			<input class="small button orange" style="bottom: 1px;" type="button" value="查看谁有权限" 
     				onclick="javascript:openUrlForDialog('selectoperatorlimitedAction_background.action?limitedCode=<s:property value="limitedcode"/>')"/>	
     				
	</div>
	
	<label>
		<s:fielderror id="errormessage" />
	</label>
    
   
   
     	
     	<table>
     		<tr>
     			<td><s:fielderror id="errormessage" /></td>
     		</tr>
     	</table>
     
    <form id="managepurchase_warehouse" name="managepurchase_warehouse" onSubmit="return true;" action="preconfirmshippriceflowbyshipno_warehouse.action" method="POST" >
    	
			<table >
				<tr> 
				  <td>
					  查找快递单信息:<input type="text" name="shipno" id="shipno" size="30" value="<s:property value="shipno"/>"/>
					  <input type="submit" class="large button blue" value="查找" />
				  </td>
			  </tr>
			</table>
	</form> 
	
	
		
		<table style="width: 100%;">
			<tr>
				<td>
					<table style= "border:1px solid #ffffff; border-top-color:#6cb1f1;width: 100%;" >
     		
     		<tr>
     			<td>出货单信息 <font color="red">快递单号:<s:property value="receiptlist.shipno_receiptlist"/></font> </td>
     		</tr>
     	</table>
     	
     	</td>
     	</tr>
     	
 		<tr>
     		<td>
     			<FONT color="red"><s:property value="operationResult"/></FONT>
     			<s:fielderror id="errormessage" />
     			<br/>
     			
				<table  style= "border:1px solid #ffffff;" class="bottomline">
					<tr>
					
						<td width="100">出货单号:</td>
						<td><s:property value="receiptlist.id_receiptlist"/> 
						
						
						</td>
						<td ></td>
					</tr>
					<tr>
					
						<td width="100">出货单部门:</td>
						<td ><s:property value="receiptlist.department_receiptlist"/></td>
						<td ></td>
					</tr>
					
					<tr>
					
						<td>客户ID:</td>
						<td><s:property value="receiptlist.customerid_receiptlist"/></td>
						<td></td>
					</tr>
					
				</table>
				
				<table  style= "border:1px solid #ffffff;width: 100%;" class="bottomline">
					
					
				<tr>
					
						<td>客户信息:</td>
						<td align="left"><s:property value="receiptlist.customerinfo_receiptlist"/></td>
						<td></td>
				</tr>
					
				</table>
				
				<table   style= "border:1px solid #ffffff; border-bottom-color:#21a4dc;
    border-left-color:#21a4dc;border-right-color:#21a4dc;border-top-color:#21a4dc;width: 100%;">
				
					<tr>
					
						<td width="105">出货ID</td>
						<td width="300">名称</td>
						<td>数量</td>
						<td>单价</td>
						<td>总价</td>
						<td>仓库</td>
					</tr>
					
				<s:iterator id="receiptList" value="receiptList">
					<tr>
					
						<td width="105">
						 	<s:property value="#receiptList.id_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.goodsname_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.number_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.price_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.total_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.warehousename_receipt"/>
						</td>
					</tr>
				</s:iterator>
				
				</table>
				
				<table style= "border:1px solid #ffffff;width: 100%;" >
					<tr>
					
						<td width="105">运费:</td>
						<td><s:property value="receiptlist.shipprice_receiptlist"/></td>
					
					
					
						<td>产品数量:</td>
						<td><s:property value="receiptlist.goodsnumber_receiptlist"/></td>
					
					</tr>
					
					<tr>
					
						<td>总额:</td>
						<td><s:property value="receiptlist.total_receiptlist"/></td>
					
					
					
						<td>操作员:</td>
						<td><s:property value="receiptlist.username_receiptlist"/></td>                          
						
					</tr>
					
					
					<tr>
						<td>描述/备注:</td>
						<td><s:property value="receiptlist.remark_receiptlist"/></td>
						
						<td>日期:</td>
						<td><s:property value="receiptlist.date_receiptlist"/></td>
						
					</tr>
					
					

				</table>
			

	</td>
     		</tr>
     		 <tr>
     		<td>
     			<button onclick="openUrlForDialog('<%=basePath %>flow/enterflow.action?kind=FLOW.WAREHOUSE.RECEIPTLIST&kindid=<s:property value="receiptlist.id_receiptlist"/>')">
																查看流程
														</button>
     			
     			
     	</td>
     	</tr>
     	
     	
     	<tr>
     		<td width="100%">
     		 
				
     	<table style= "border:1px solid #ffffff; border-top-color:#6cb1f1;width: 100%;">
     		
     		<tr>
     			<td>确认邮费</td>
     		</tr>
     	</table>
     	</td>
     		</tr>
     		
     		<tr>
     		
     <td width="100%">
	<form method="post" accept-charset="UTF-8" id="confirmshippriceflowbyshipno" name="confirmshippriceflowbyshipno" 
		action="confirmshippriceflowbyshipno.action">
		
		<input type="hidden" id="flowCode" name="flowCode" value="<s:property value="flowCode"/>"/>
    	<input type="hidden" id="kind" name="kind" value="<s:property value="kind"/>"/>
    	<input type="hidden" id="kindid" name="kindid" value="<s:property value="kindid"/>"/>
    	
     	<table style="width: 100%">
     		
     		<tr>
     			<td>实收邮费: <s:property value="receiptlist.shipprice_receiptlist"/></td>
     		</tr>
     		
     		<tr>
     			<td>实际支出邮费: <s:property value="receiptlist.realshipprice_receiptlist"/></td>
     		</tr>
     		<tr>
     			<td>实际支出邮费: <input name="doublevalue_recordlist" id="doublevalue_recordlist" type="text" value="" /></td>
     		</tr>
     		
     		<tr>
     			<td>利润: <s:property value="receiptlist.profit_receiptlist"/></td>
     		</tr>
     		
     		<tr>
     			<td><button type="submit"">确认邮费流程</button></td>
     		</tr>
     	</table>
     	</form>
     	</td>
     		</tr>
     	
     	
     	
     	</table>
				
    
   

	
	</div>
  </div>
  <div id="footer">
<jsp:include page="/background/tail.jsp"></jsp:include>
	</div>
</div>
  
  
<script type="text/javascript">

$("#shipno").focus();
</script>
  </body>

</html>
